package org.ycx.upms.service;

import org.ycx.common.base.BaseService;
import org.ycx.upms.dao.model.SecGroup;
import org.ycx.upms.dao.model.SecGroupExample;
import org.ycx.upms.dao.model.SecUser;

import java.util.List;

/**
* SecGroupService接口
* Created by yang on 2017-07-19 15:16:03.
*/
public interface ISecGroupService extends BaseService<SecGroup, SecGroupExample> {

    List<Integer> selectRidsByGid(Integer uid);

    int updateGroupRole(Integer uid, Integer[] rids);

    List<SecUser> selectByGroup(Integer gid, int offset, int limit);

    long countByGroup(Integer gid);
}